<template>
    <IModal v-model="defaultValue">
        <Row>
            <Col span="24">
                基础信息
            </Col>
        </Row>
    </IModal>
</template>

<script>
    import IModalMixins from "../../../../mixins/iDrawerMixins";
    import IModal from "../../../../components/layout/IModal";
    export default {
        name: "iView",
        components: {IModal},
        mixins:[IModalMixins],
        data(){
            return {
                data: {}
            }
        },
        mounted() {
            this.getData();
        },
        methods: {
            getData(){
                this.loading = true;
                this.$http.get(`product/index/${this.props.id}`).then((res) => {
                    this.data = res;
                }).finally(() => {
                    this.loading = false;
                })
            }
        }
    }
</script>

<style scoped>

</style>
